import request from '@/utils/request'

//中台 平台积分商品订单 分页列表
export function orderList(data) {   
    return request({
        url:'/merchant/exchange/goods/order/v1/list',
        method: 'post',
        data
    })
}



//店铺下拉
export function shopSelectDown() {
    return request({
        url: `/common/v1/shopSelectDown`,
        method: 'get',
        
    })
}

//取消订单
export function cancelOrder(data) {   
    return request({
        url:'/merchant/exchange/goods/order/v1/cancelOrder',
        method: 'put',
        data
    })
}
//确认订单
export function verifyOrder(data) {   
    return request({
        url:'/merchant/exchange/goods/order/v1/verifyOrder',
        method: 'put',
        data
    })
}

// 中台 商户注销申请
export function logoutV1AdminLogOffApply(data) {   
    return request({
        url:'/logout/v1/adminLogOffApply',
        method: 'post',
        data
    })
}

// 商户资产判断
export function logoutV1GetCustomerAssetStatus(params) {   
    return request({
        url:'/logout/v1/getCustomerAssetStatus',
        method: 'get',
        params
    })
}
